#! /bin/bash
./loadFW 0xfffe 0x0007 ./ozyfw-sdr1k.hex
sleep 3
./loadFPGA 0xfffe 0x0007 ./Ozy_Janus.rbfsleep 1
./write_i2c 0xfffe 0x7 0x1a  0x2  0x1e 0x00
./write_i2c 0xfffe 0x7 0x1a  0x2  0x12 0x01
./write_i2c 0xfffe 0x7 0x1a  0x2  0x08 0x15
./write_i2c 0xfffe 0x7 0x1a  0x2  0x0c 0x00
./write_i2c 0xfffe 0x7 0x1a  0x2  0x0e 0x02
./write_i2c 0xfffe 0x7 0x1a  0x2  0x10 0x00
./write_i2c 0xfffe 0x7 0x1a  0x2  0x0a 0x00

./write_i2c 0xfffe 0x7 0x1b  0x2  0x1e 0x00
./write_i2c 0xfffe 0x7 0x1b  0x2  0x12 0x01
./write_i2c 0xfffe 0x7 0x1b  0x2  0x08 0x15
./write_i2c 0xfffe 0x7 0x1b  0x2  0x0c 0x00
./write_i2c 0xfffe 0x7 0x1b  0x2  0x0e 0x02
./write_i2c 0xfffe 0x7 0x1b  0x2  0x10 0x00
./write_i2c 0xfffe 0x7 0x1b  0x2  0x0a 0x00

